<script setup>
import Header from './components/Header.vue'
</script>

<template>
  <div class="app-wrapper">
    <router-view></router-view>
  </div>
</template>

<style>
:root {
  --primary-color: #409EFF;
  --success-color: #67C23A;
  --warning-color: #E6A23C;
  --danger-color: #F56C6C;
  --info-color: #909399;
  --text-color: #303133;
  --border-color: #DCDFE6;
  --background-color: #F5F7FA;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
  color: var(--text-color);
  background-color: var(--background-color);
}

.app-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#app {
  height: 100%;
}

.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}

.app-footer {
  text-align: center;
  padding: 20px;
  background-color: #fff;
  border-top: 1px solid var(--border-color);
  margin-top: 40px;
  color: var(--info-color);
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}
</style>
